package com.robotserver.orders.service;

import com.pdd.pop.sdk.http.api.pop.response.PddDdkAllOrderListIncrementGetResponse;
import com.robotserver.orders.param.PddOrderPullByOrderSnParam;
import com.robotserver.orders.vo.PddConfig;
import com.robotserver.orders.vo.PddOrderTimeVO;

import java.util.List;

/**
 * 拼多多订单同步
 * @author jianghan
 * @date 2019-11-08 10:06
 */
public interface PddOrderSyncService {
    void syncUnitOrder(Long begin_time, Long end_time, PddConfig pddConfig);
    void orderAdd(PddDdkAllOrderListIncrementGetResponse.OrderListGetResponseOrderListItem item);

    void threadSyncOrder(List<PddOrderTimeVO> pddOrderTimeVOS, PddConfig pddConfig);

    void pullByOrderSn(PddOrderPullByOrderSnParam pddOrderPullByOrderSnParam, PddConfig pddConfig);
}
